<!DOCTYPE html>
<html>
	<head>	
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
		<title>捷豹英仕挑战赛</title>
		 <link rel="stylesheet" href="__PUBLIC__/Home/css/font.css" />
		<link rel="stylesheet" charset="utf-8" type="text/css" href="__PUBLIC__/Home/css/activity.css">
		<script type="text/javascript" charset="utf-8" src="__PUBLIC__/Home/js/jquery.min.js" ></script>
		<script>
			var ua = navigator.userAgent; 		
			if (ua.indexOf("Android") > -1 ){
			var heigt=document.documentElement.clientHeight;
			var widte=document.documentElement.clientWidth;				
			}
			if (ua.indexOf("Mac") > -1 ){
				var heigt=window.screen.availHeight;
				var widte=window.screen.availWidth;			
			}	
			if (ua.indexOf("iPhone") > -1  ){
			var heigt=document.documentElement.clientHeight;
			var widte=document.documentElement.clientWidth;					
			}		
			$(document).ready(function(e) {	
				var ww=widte*0.5
				
				$(".content").css({"height":heigt,"width":widte});	
				$(".play").css({"height":widte*0.25,"width":widte*0.25});	
				$(".npt").css({"height":widte*0.6,"width":widte*0.6});
				$(".siez5").css({"height":widte*0.6,"width":widte*0.6,"line-height":widte*0.6+"px"});	
				$(".tx").css({"height":widte*0.6,"width":widte*0.6});
				$(".ng").css({"height":ww,"width":ww,"margin-left":-ww*0.5+"px"});
				$(".ewm").click(function(){					
					window.location.href="{:U('Activity/ewm')}";
				});
				<if condition="$arr.g1_status eq 0">
				$("#play1").click(function(){					
					window.location.href="{:U('Activity/rules')}?id=1";
				});
				</if>
				<if condition="$arr.g2_status eq 0">
				$("#play2").click(function(){					
					window.location.href="{:U('Activity/rules')}?id=2";
				});
				</if>
				<if condition="$arr.g3_status eq 0">
				$("#play3").click(function(){					
					window.location.href="{:U('Activity/rules')}?id=3";
				});
				</if>
				<if condition="$arr.g4_status eq 0">
				$("#play4").click(function(){					
					window.location.href="{:U('Activity/rules')}?id=4";
				});
				</if>
				<if condition="$arr.g5_status eq 0">
				$("#play5").click(function(){					
					window.location.href="{:U('Activity/rules')}?id=5";
				});
				</if>
				
				<if condition='$xg gt 0'>
				$(".npt").click(function(){					
					window.location.href="{:U('Activity/ques')}";
				});
				</if>
			});
		</script>	
	</head>
	<body>	
		<div class="bg1"></div>	
		<div class="content">
			<p class="siez3">驭享性能美学</p>
			<p class="siez2">赢英仕格调之旅!</p>
			

			
			
			<div class="play" id="play2"><div class="bng1"></div>
			<if condition="$arr.g2_status eq 0">
			<img  src="__PUBLIC__/Home/image/activity/bn1.png"/>
			</if>	
			<if condition="$arr.g2_status eq 1">
			<img  src="__PUBLIC__/Home/image/activity/bn.png"/>
			</if><div class="siez4">驭享 <br/>非凡座驾</div></div>
			

			
			<div class="play" id="play4"><div class="bng1"></div>		
			<if condition="$arr.g4_status eq 0">
			<img  src="__PUBLIC__/Home/image/activity/bn1.png"/>
			</if>
			<if condition="$arr.g4_status eq 1">
			<img  src="__PUBLIC__/Home/image/activity/bn.png"/>
			</if>
			<div class="siez4">捷豹<br/>知识挑战</div></div>
			
			<div class="play" id="play5"><div class="bng"></div>
			<if condition="$arr.g5_status eq 0">
			<img  src="__PUBLIC__/Home/image/activity/bn1.png"/>
			</if>
			<if condition="$arr.g5_status eq 1">
			<img  src="__PUBLIC__/Home/image/activity/bn.png"/>
			</if><div class="siez4">我的<br/>英仕锋尚</div></div>
			
			
			<div class="npt"><img class="tx <if condition='$xg gt 0'>xg1</if>" src="__PUBLIC__/Home/image/activity/ng1.png"/>
			<img class="ng <if condition='$xg gt 0'>xg2 </if>"  
			<if condition='$xg eq 0'>
			src="__PUBLIC__/Home/image/activity/ng.png"/>
			 </if>
			  <if condition='$xg eq 1'>
			src="__PUBLIC__/Home/image/activity/ng2.png"/>
			 </if>
			  <if condition='$xg eq 2'>
			src="__PUBLIC__/Home/image/activity/ng3.png"/>
			 </if>
			  <if condition='$xg eq 3'>
			src="__PUBLIC__/Home/image/activity/ng4.png"/>
			 </if>
			 
			
			
			<div class="siez5">{$fen}<div
				style="color: #fff; display: inline; font-size: 16px; padding-left: 5px;">分</div></div></div>
		</div>
		<img  class="ewm" src="__PUBLIC__/Home/image/activity/ewm.jpg"/>
	</body>
</html>
